home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / Glib / list.c < prev    next >
C/C++ Source or Header  |  1989-03-16  |  3KB  |  103 lines

  1. /*
  2.  * GLIB - a Generic LIBrarian and editor for synths
  3.  *
  4.  * The E array is the list of synths that can be handled.
  5.  * GLIB is completely driven from the stuff in the editinfo structure.
  6.  * To add/delete a synth, just add/delete an entry to the E array,
  7.  * and provide the functions.  The #defines at the top provide a
  8.  * convenient way of including/excluding synths that are already
  9.  * supported.
  10.  */
  11.  
  12. #define TX81Z
  13. #define TX81ZPERF
  14. #define DX100
  15. #define DW8000
  16. /* #define DEP5 */
  17. #define K5
  18.  
  19. #include "glib.h"
  20.  
  21. #ifdef DX100
  22. extern dxtxdin(), dxtxdout(), dx1snof(), dx1sbulk(), dx1gbulk(), dx1sedit();
  23. extern char *dx1nof();
  24. extern struct paraminfo Pdx100[];
  25. extern struct labelinfo Ldx100[];
  26. #endif
  27.  
  28. #ifdef TX81Z
  29. extern dxtxdin(), dxtxdout(), dx1snof(), dx1sbulk(), dx1gbulk(), dx1sedit();
  30. extern char *dx1nof();
  31. extern struct paraminfo Ptx81z[];
  32. extern struct labelinfo Ltx81z[];
  33. #endif
  34.  
  35. #ifdef TX81ZPERF
  36. extern tx8pdin(), tx8pdout(), tx8psedit(), tx8psbulk(), tx8pgbulk(), tx8psnof();
  37. extern char *tx8pnof();
  38. extern struct paraminfo Ptx81p[];
  39. extern struct labelinfo Ltx81p[];
  40. #endif
  41.  
  42. #ifdef DEP5
  43. extern struct paraminfo Pdep5[];
  44. extern struct labelinfo Ldep5[];
  45. extern dep5din(), dep5dout(), dep5snof(), dep5sone(), dep5sedit();
  46. extern char *dep5nof();
  47. #endif
  48.  
  49. #ifdef DW8000
  50. extern struct paraminfo Pdw800[];
  51. extern struct labelinfo Ldw800[];
  52. extern dw8din(), dw8dout(), dw8snof(), dw8sone(), dw8gbulk();
  53. extern dw8numv(), dw8sedit();
  54. extern char *dw8nof(), *dw8vnum();
  55. #endif
  56.  
  57. #ifdef K5
  58. extern struct paraminfo Pk5sin[], Pk5mul[];
  59. extern struct labelinfo Lk5sin[], Lk5mul[];
  60. extern k5sindin(), k5sindout(), k5sinsnof(), k5sinsone();
  61. extern k5muldin(), k5muldout(), k5mulsnof(), k5mulsone();
  62. extern k5sinsbulk(), k5mulsbulk();
  63. extern k5numv(), k5sinsedit(), k5mulsedit(), k5singbulk(), k5mulgbulk();
  64. extern char *k5sinnof(), *k5mulnof(), *k5vnum();
  65. #endif
  66.  
  67. struct editinfo E[] = {
  68. #ifdef DX100
  69.    {"DX-100", Pdx100, Ldx100, 24, 128, 17,
  70.     dxtxdin, dxtxdout, dx1sedit, NULL, dx1sbulk, dx1gbulk, dx1nof, dx1snof,
  71.     NULL, NULL, NULL},
  72. #endif
  73. #ifdef DEP5
  74.    {"DEP-5", Pdep5, Ldep5, 99, 42, 16,
  75.     dep5din, dep5dout, dep5sedit, dep5sone, NULL, NULL, dep5nof, dep5snof,
  76.     NULL, NULL, NULL},
  77. #endif
  78. #ifdef TX81Z
  79.    {"TX81Z", Ptx81z, Ltx81z, 32, 128, 17,
  80.     dxtxdin, dxtxdout, dx1sedit, NULL, dx1sbulk, dx1gbulk, dx1nof, dx1snof,
  81.     NULL, NULL, NULL},
  82. #endif
  83. #ifdef TX81ZPERF
  84.    {"TX81Z Performance", Ptx81p, Ltx81p, 24, 76, 17,
  85.     tx8pdin, tx8pdout, tx8psedit, NULL, tx8psbulk, tx8pgbulk, tx8pnof,
  86.     tx8psnof, NULL, NULL, NULL},
  87. #endif
  88. #ifdef DW8000
  89.    {"DW8000", Pdw800, Ldw800, 64, 72, 17,
  90.     dw8din, dw8dout, dw8sedit, dw8sone, NULL, dw8gbulk, dw8nof, dw8snof,
  91.     dw8vnum, dw8numv, NULL},
  92. #endif
  93. #ifdef K5
  94.    {"K-5 Single", Pk5sin, Lk5sin, 48, 984, 8,
  95.     k5sindin, k5sindout, k5sinsedit, k5sinsone, k5sinsbulk, k5singbulk,
  96.     k5sinnof, k5sinsnof, k5vnum, NULL, k5numv},
  97.    {"K-5 Multi", Pk5mul, Lk5mul, 48, 352, 8,
  98.     k5muldin, k5muldout, k5mulsedit, k5mulsone, k5mulsbulk, k5mulgbulk,
  99.     k5mulnof, k5mulsnof, k5vnum, NULL, k5numv},
  100. #endif
  101.    {NULL,NULL,NULL,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL}
  102. };
  103.